<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
        <title>新冠肺炎健康信息管理平台</title>

        <!--网站图标-->
        <link rel="shortcut icon" th:href="@{/images/favicon.ico}">


        <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet" type="text/css">
        <link th:href="@{/css/icons.css}" rel="stylesheet" type="text/css">
        <link th:href="@{/css/style-houtai.css}" rel="stylesheet" type="text/css">


    </head>


    <body class="fixed-left">

        <!-- Loader -->
        <div id="preloader"><div id="status"><div class="spinner"></div></div></div>

        <!-- Begin page -->
        <div id="wrapper">

            <!-- 左边栏开始 -->
            <div th:insert="~{commons/commons::sidebar}"></div>
            <!-- 左边栏结束 -->

            <!-- Start right Content here -->

            <div class="content-page">
                <!-- Start content -->
                <div class="content">

                    <!-- 顶部栏开始 -->
                    <div th:insert="~{commons/commons::topbar}"></div>
                    <!-- 顶部栏结束 -->

                    <!-- 内容开始 -->
                    <div class="page-content-wrapper ">

                        <div class="container-fluid">

                            <div class="row">
                                <div class="col-sm-12">
                                    <div class="page-title-box">
                                        <div class="btn-group float-right">
                                            <ol class="breadcrumb hide-phone p-0 m-0">
                                                <li class="breadcrumb-item"><a href="#">首页</a></li>
                                                <li class="breadcrumb-item active">Landing</li>
                                            </ol>
                                        </div>
                                        <h4 class="page-title">学生信息表</h4>
                                    </div>
                                </div>
                            </div>
                            <!-- end page title end breadcrumb -->
                            <div class="row">
                                <div class="col-md-12 col-xl-12">
                                    <div class="card m-b-30">
                                        <div class="card-body new-user">
                                            <div class="input-group col-lg-6">
                                                <input type="text" class="form-control" placeholder="请输入要查询的学号">
                                                <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">查询</button>
                                                </span>
                                            </div>
                                            <div class="table-responsive">
                                                <table class="table table-hover mb-0">
                                                    <thead>
                                                    <tr>
                                                        <th class="border-top-0">学号</th>
                                                        <th class="border-top-0">姓名</th>
                                                        <th class="border-top-0">性别</th>
                                                        <th class="border-top-0">年龄</th>
                                                        <th class="border-top-0">班级</th>
                                                        <th class="border-top-0">系部</th>
                                                        <th class="border-top-0">院部</th>
                                                        <th class="border-top-0">邮箱</th>
                                                        <th class="border-top-0">操作</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    <tr th:each="usermsg:${usermsgs}">
                                                        <td th:text="${usermsg.getUserId()}"></td>
                                                        <td th:text="${usermsg.getUsername()}"></td>
                                                        <td th:text="${usermsg.getGrend()}"></td>
                                                        <td th:text="${usermsg.getAge()}"></td>
                                                        <td th:text="${usermsg.getSclass()}"></td>
                                                        <td th:text="${usermsg.getDname()}"></td>
                                                        <td th:text="${usermsg.getCname()}"></td>
                                                        <td th:text="${usermsg.getEmail()}"></td>
                                                        <td>
                                                            <a href="#" class="btn btn-success btn-sm">查看</a>
                                                            <a th:href="@{/usermsg/revise(userid=${usermsg.getUserId()})}" class="btn btn-primary btn-sm">修改</a>
                                                            <a th:href="@{/usermsg/delete(userid=${usermsg.getUserId()})}" class="btn btn-danger btn-sm">删除</a>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>
                        <!-- container -->

                    </div>
                    <!-- 内容结束 -->

                </div>
                <!-- content -->

                <footer class="footer">
                    © 2020 PHP by Code9xs and Jack_zy.
                </footer>

            </div>
            <!-- End Right content here -->

        </div>
        <!-- END wrapper -->

        <!-- jQuery  -->
        <script th:src="@{/js/jquery.min.js}"></script>
        <script th:src="@{/js/popper.min.js}"></script>
        <script th:src="@{/js/bootstrap.min.js}"></script>
        <script th:src="@{/js/jquery.slimscroll.js}"></script>

        <!-- App js -->
        <script th:src="@{/js/app.js}"></script>


    </body>
</html>